Lie about futex_atomic_cmpxchg_inatomic kernel support.
authorAdam Conrad <adconrad@ubuntu.com>
Sun, 9 Oct 2022 08:54:21 +0000 (09:54 +0100)
committerAurelien Jarno <aurel32@debian.org>
Sun, 9 Oct 2022 08:54:21 +0000 (09:54 +0100)
commit156b64f7b97bbb0e0650531bae4b19e87a7b20ae
tree461a0a6d6cb85686e38859b079e458fec089ba4d
parentec41a639cfd82705cbdc83d0d21ed7c36cffe31b
Lie about futex_atomic_cmpxchg_inatomic kernel support.

Bug-Ubuntu: https://launchpad.net/bugs/1436162
Bug-Debian: https://bugs.debian.org/788799
Last-Update: 2015-03-25

In past versions of glibc, we incorrectly assumed all ARM kernels
in all configurations supported futex_atomic_cmpxchg_inatomic. This
was clearly a lie, however it was a lie that we relied on, because
the fallback implementation appears to not play nicely with certain
applications like pulseaudio.  Restore the lie for kernels > 2.6.32
and plug our ears and scream "LA LA LA" about how wrong this is.

Gbp-Pq: Topic arm
Gbp-Pq: Name local-arm-futex.diff
sysdeps/unix/sysv/linux/arm/kernel-features.h